package com.itheima.tlias08_14.config;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

@Configuration
@ConfigurationProperties("student")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentConfig {
    private String name;
    private Integer age;
    private String[] subjects;
    private List<String> teachers;
    private Map<String, String> family;
}
